package net.pimpas.xml.dom4j.node;

import java.io.IOException;
import java.io.Writer;
import java.util.List;

import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4j.InvalidXPathException;
import org.dom4j.Node;
import org.dom4j.Visitor;
import org.dom4j.XPath;

public class NodeDom4jImpl implements NodeDom4j {

	private Node node;
	
	public NodeDom4jImpl(Node node) {
		this.setNode(node);
	}
	
	

	public void accept(Visitor arg0) {
		node.accept(arg0);
	}



	public String asXML() {
		return node.asXML();
	}



	public Node asXPathResult(Element arg0) {
		return node.asXPathResult(arg0);
	}



	public Object clone() {
		return node.clone();
	}



	public XPath createXPath(String arg0) throws InvalidXPathException {
		return node.createXPath(arg0);
	}



	public Node detach() {
		return node.detach();
	}



	public Document getDocument() {
		return node.getDocument();
	}



	public String getName() {
		return node.getName();
	}



	public short getNodeType() {
		return node.getNodeType();
	}



	public String getNodeTypeName() {
		return node.getNodeTypeName();
	}



	public Element getParent() {
		return node.getParent();
	}



	public String getPath() {
		return node.getPath();
	}



	public String getPath(Element arg0) {
		return node.getPath(arg0);
	}



	public String getStringValue() {
		return node.getStringValue();
	}



	public String getText() {
		return node.getText();
	}



	public String getUniquePath() {
		return node.getUniquePath();
	}



	public String getUniquePath(Element arg0) {
		return node.getUniquePath(arg0);
	}



	public boolean hasContent() {
		return node.hasContent();
	}



	public boolean isReadOnly() {
		return node.isReadOnly();
	}



	public boolean matches(String arg0) {
		return node.matches(arg0);
	}



	public Number numberValueOf(String arg0) {
		return node.numberValueOf(arg0);
	}



	public List<?> selectNodes(String arg0, String arg1, boolean arg2) {
		return node.selectNodes(arg0, arg1, arg2);
	}



	public List<?> selectNodes(String arg0, String arg1) {
		return node.selectNodes(arg0, arg1);
	}



	public List<?> selectNodes(String arg0) {
		return node.selectNodes(arg0);
	}



	public Object selectObject(String arg0) {
		return node.selectObject(arg0);
	}



	public Node selectSingleNode(String arg0) {
		return node.selectSingleNode(arg0);
	}



	public void setDocument(Document arg0) {
		node.setDocument(arg0);
	}



	public void setName(String arg0) {
		node.setName(arg0);
	}



	public void setParent(Element arg0) {
		node.setParent(arg0);
	}



	public void setText(String arg0) {
		node.setText(arg0);
	}



	public boolean supportsParent() {
		return node.supportsParent();
	}



	public String valueOf(String arg0) {
		return node.valueOf(arg0);
	}



	public void write(Writer arg0) throws IOException {
		node.write(arg0);
	}



	public void setNode(Node node) {
		this.node = node;
	}



	public Node getNode() {
		return this.node;
	}
}
